home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-01-30 | 1.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| GW-BASIC (document/gwBasic)
| ext
| Supported |
66%
| dexvert
| GFA-BASIC Atari (other/gfaBASICAtari)
| ext
| Supported |
1%
| dexvert
| Memotech MTX BASIC source (document/memotechMTXBASICSource)
| ext
| Unsupported |
1%
| dexvert
| Amiga BASIC Protected File (other/amigaBASICProtectedFile)
| ext
| Unsupported |
1%
| dexvert
| BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source)
| ext
| Unsupported |
1%
| dexvert
| Visual Basic Tokenized Source (other/visualBasicTokenizedSource)
| ext
| Unsupported |
1%
| dexvert
| ZBASIC (other/zbasic)
| ext
| Unsupported |
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 04 00 00 0d 0a 27 20 | 45 72 6f 73 69 6f 6e 2e |......' |Erosion.|
|00000010| 0d 0a 27 20 43 6c 65 61 | 72 20 73 69 6e 67 6c 65 |..' Clea|r single|
|00000020| 20 70 69 78 65 6c 20 65 | 6c 69 6d 69 6e 61 74 69 | pixel e|liminati|
|00000030| 6e 67 20 64 69 73 74 75 | 72 62 2e 0d 0a 27 20 43 |ng distu|rb...' C|
|00000040| 6f 75 6c 64 20 61 6c 73 | 6f 20 62 65 20 75 73 65 |ould als|o be use|
|00000050| 64 20 74 6f 20 63 6c 65 | 61 6e 20 64 69 74 68 65 |d to cle|an dithe|
|00000060| 72 65 64 20 42 26 57 20 | 69 6d 61 67 65 2e 0d 0a |red B&W |image...|
|00000070| 0d 0a 27 20 49 6e 70 75 | 74 3a 09 31 20 62 69 74 |..' Inpu|t:.1 bit|
|00000080| 2c 20 42 2f 4e 0d 0a 27 | 20 4f 75 74 70 75 74 3a |, B/N..'| Output:|
|00000090| 09 31 20 62 69 74 2c 20 | 42 2f 4e 0d 0a 0d 0a 27 |.1 bit, |B/N....'|
|000000a0| 20 41 75 74 68 6f 72 3a | 09 41 6e 64 72 65 61 20 | Author:|.Andrea |
|000000b0| 42 65 6e 6f 6e 69 09 09 | 20 72 65 76 3a 09 31 2e |Benoni..| rev:.1.|
|000000c0| 32 0d 0a 0d 0a 0d 0a 73 | 74 72 69 6e 67 20 20 20 |2......s|tring |
|000000d0| 20 09 69 6e 70 46 69 6c | 65 2c 6f 75 74 46 69 6c | .inpFil|e,outFil|
|000000e0| 65 0d 0a 44 65 76 43 6f | 6e 09 49 62 6d 70 0d 0a |e..DevCo|n.Ibmp..|
|000000f0| 52 47 42 09 70 69 78 2c | 70 69 78 61 2c 70 69 78 |RGB.pix,|pixa,pix|
|00000100| 62 2c 70 69 78 63 2c 70 | 69 78 64 0d 0a 66 6c 6f |b,pixc,p|ixd..flo|
|00000110| 61 74 20 20 09 78 2c 79 | 0d 0a 0d 0a 69 6e 70 46 |at .x,y|....inpF|
|00000120| 69 6c 65 3d 22 54 65 73 | 74 69 62 6e 2e 62 6d 70 |ile="Tes|tibn.bmp|
|00000130| 22 09 09 09 27 20 69 6e | 70 75 74 20 66 69 6c 65 |"...' in|put file|
|00000140| 0d 0a 6f 75 74 46 69 6c | 65 3d 22 54 65 73 74 6f |..outFil|e="Testo|
|00000150| 2e 62 6d 70 22 09 09 09 | 27 20 6f 75 74 70 75 74 |.bmp"...|' output|
|00000160| 20 66 69 6c 65 0d 0a 0d | 0a 49 62 6d 70 3d 4c 6f | file...|.Ibmp=Lo|
|00000170| 61 64 49 6d 61 67 65 28 | 69 6e 70 46 69 6c 65 29 |adImage(|inpFile)|
|00000180| 09 09 09 27 20 6c 6f 61 | 64 20 69 6e 70 75 74 20 |...' loa|d input |
|00000190| 69 6d 61 67 65 0d 0a 50 | 72 65 76 69 65 77 28 49 |image..P|review(I|
|000001a0| 62 6d 70 2c 22 49 6d 61 | 67 65 22 2c 32 2c 35 29 |bmp,"Ima|ge",2,5)|
|000001b0| 0d 0a 0d 0a 70 69 78 2e | 4c 75 6d 3d 32 35 35 0d |....pix.|Lum=255.|
|000001c0| 0a 46 6f 72 20 79 3d 31 | 20 74 6f 20 49 62 6d 70 |.For y=1| to Ibmp|
|000001d0| 2e 48 65 69 67 68 74 2d | 32 0d 0a 20 20 20 46 6f |.Height-|2.. Fo|
|000001e0| 72 20 78 3d 31 20 74 6f | 20 49 62 6d 70 2e 57 69 |r x=1 to| Ibmp.Wi|
|000001f0| 64 74 68 2d 32 0d 0a 20 | 20 20 20 20 20 20 20 70 |dth-2.. | p|
|00000200| 69 78 61 3d 47 65 74 50 | 69 78 65 6c 28 49 62 6d |ixa=GetP|ixel(Ibm|
|00000210| 70 2c 78 2c 79 29 0d 0a | 20 20 20 20 20 20 20 20 |p,x,y)..| |
|00000220| 69 66 20 28 70 69 78 61 | 2e 4c 75 6d 3d 30 29 0d |if (pixa|.Lum=0).|
|00000230| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 70 69 78 |. | pix|
|00000240| 61 3d 47 65 74 50 69 78 | 65 6c 28 49 62 6d 70 2c |a=GetPix|el(Ibmp,|
|00000250| 78 2d 31 2c 79 29 0d 0a | 20 20 20 20 20 20 20 20 |x-1,y)..| |
|00000260| 20 20 20 20 70 69 78 62 | 3d 47 65 74 50 69 78 65 | pixb|=GetPixe|
|00000270| 6c 28 49 62 6d 70 2c 78 | 2c 79 2d 31 29 0d 0a 20 |l(Ibmp,x|,y-1).. |
|00000280| 20 20 20 20 20 20 20 20 | 20 20 20 70 69 78 63 3d | | pixc=|
|00000290| 47 65 74 50 69 78 65 6c | 28 49 62 6d 70 2c 78 2b |GetPixel|(Ibmp,x+|
|000002a0| 31 2c 79 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |1,y).. | |
|000002b0| 20 20 70 69 78 64 3d 47 | 65 74 50 69 78 65 6c 28 | pixd=G|etPixel(|
|000002c0| 49 62 6d 70 2c 78 2c 79 | 2b 31 29 0d 0a 20 20 20 |Ibmp,x,y|+1).. |
|000002d0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 70 69 78 | | if (pix|
|000002e0| 61 2e 4c 75 6d 20 2b 20 | 70 69 78 62 2e 4c 75 6d |a.Lum + |pixb.Lum|
|000002f0| 20 2b 20 70 69 78 63 2e | 4c 75 6d 20 2b 20 70 69 | + pixc.|Lum + pi|
|00000300| 78 64 2e 4c 75 6d 20 3e | 20 37 36 34 29 0d 0a 20 |xd.Lum >| 764).. |
|00000310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 65 | | Se|
|00000320| 74 50 69 78 65 6c 28 49 | 62 6d 70 2c 78 2c 79 2c |tPixel(I|bmp,x,y,|
|00000330| 70 69 78 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |pix).. | |
|00000340| 20 20 65 6e 64 69 66 0d | 0a 20 20 20 20 20 20 20 | endif.|. |
|00000350| 20 65 6e 64 69 66 0d 0a | 20 20 20 4e 65 78 74 20 | endif..| Next |
|00000360| 78 0d 0a 20 20 20 69 66 | 28 79 25 31 30 3d 30 29 |x.. if|(y%10=0)|
|00000370| 0d 0a 20 20 20 20 20 20 | 44 73 70 57 68 69 6c 65 |.. |DspWhile|
|00000380| 28 22 45 72 6f 73 69 6f | 6e 22 2c 31 30 30 2f 49 |("Erosio|n",100/I|
|00000390| 62 6d 70 2e 48 65 69 67 | 68 74 2a 79 29 29 0d 0a |bmp.Heig|ht*y))..|
|000003a0| 20 20 20 65 6e 64 69 66 | 0d 0a 4e 65 78 74 20 79 | endif|..Next y|
|000003b0| 0d 0a 0d 0a 44 73 70 57 | 68 69 6c 65 28 22 22 2c |....DspW|hile("",|
|000003c0| 30 29 0d 0a 50 72 65 76 | 69 65 77 28 49 62 6d 70 |0)..Prev|iew(Ibmp|
|000003d0| 2c 22 49 6d 6d 61 67 69 | 6e 65 22 2c 32 2c 35 29 |,"Immagi|ne",2,5)|
|000003e0| 0d 0a 53 61 76 65 49 6d | 61 67 65 28 49 62 6d 70 |..SaveIm|age(Ibmp|
|000003f0| 2c 6f 75 74 46 69 6c 65 | 29 0d 0a 44 73 70 4d 65 |,outFile|)..DspMe|
|00000400| 73 28 22 46 69 6c 74 65 | 72 69 6e 67 20 6f 6b 22 |s("Filte|ring ok"|
|00000410| 29 | |) | |
+--------+-------------------------+-------------------------+--------+--------+